home *** CD-ROM | disk | FTP | other *** search
- #ifndef CLIB_TTENGINE_PROTOS_H
- #define CLIB_TTENGINE_PROTOS_H
-
-
- /*
- ** $VER: ttengine_protos.h 5.0 (13.11.2002)
- **
- ** C prototypes. For use with 32 bit integers only.
- **
- ** Copyright © 2002
- ** All Rights Reserved
- */
-
- #ifndef EXEC_TYPES_H
- #include <exec/types.h>
- #endif
- #ifndef UTILITY_TAGITEM_H
- #include <utility/tagitem.h>
- #endif
- #ifndef LIBRARIES_TTENGINE_H
- #include <libraries/ttengine.h>
- #endif
- #ifndef GRAPHICS_TEXT_H
- #include <graphics/text.h>
- #endif
-
- APTR TT_OpenFontA(struct TagItem * taglist);
- APTR TT_OpenFont(Tag taglist, ...);
- BOOL TT_SetFont(struct RastPort * rp, APTR font);
- VOID TT_CloseFont(APTR font);
- VOID TT_Text(struct RastPort * rp, APTR string, ULONG count);
- ULONG TT_SetAttrsA(struct RastPort * rp, struct TagItem * taglist);
- ULONG TT_SetAttrs(struct RastPort * rp, Tag taglist, ...);
- ULONG TT_GetAttrsA(struct RastPort * rp, struct TagItem * taglist);
- ULONG TT_GetAttrs(struct RastPort * rp, Tag taglist, ...);
- ULONG TT_TextLength(struct RastPort * rp, APTR string, ULONG count);
- VOID TT_TextExtent(struct RastPort * rp, APTR string, WORD count, struct TextExtent * te);
- ULONG TT_TextFit(struct RastPort * rp, APTR string, UWORD count, struct TextExtent * te,
- struct TextExtent * tec, WORD dir, UWORD cwidth, UWORD cheight);
- struct TT_Pixmap * TT_GetPixmapA(APTR font, APTR string, ULONG count,
- struct TagItem * taglist);
- struct TT_Pixmap * TT_GetPixmap(APTR font, APTR string, ULONG count, Tag taglist, ...);
- VOID TT_FreePixmap(struct TT_Pixmap * pixmap);
- VOID TT_DoneRastPort(struct RastPort * rp);
-
- #endif /* CLIB_TTENGINE_PROTOS_H */
-